package com.itheima.demo02Interfaceupgrade;

public class Demo02UseStaticFunction {
    public static void main(String[] args) {
        BBB bbb=new BBB();
        //bbb.test1();
        //使用接口名.静态方法名()
        AAA.test01();
    }
}

interface AAA{
    public static void test01(){
        System.out.println("我是接口的静态方法");
    }
}

class BBB implements AAA{
    //静态方法不能重新
//    @Override
//    public static void test01(){
//        System.out.println("我是接口的静态方法");
//    }
}

